<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <div>
        <div>
            Search:
            <input type="text" id="item" onkeydown="doSearch(arguments[0]||event)" />
            <button onclick="gridReload()" id="submitButton">
                Search</button>
            <input type="checkbox" id="autosearch" onclick="enableAutosubmit(this.checked)" />
            Enable Autosearch
            <div id="search" style="visibility: hidden; width: 10px; height: 10px">
            </div>
        </div>
        <table id="grid" class="scroll" cellpadding="0" cellspacing="0">
        </table>
        <div id="pager" class="scroll" style="text-align: center;">
        </div>
    </div>
    <br />
    <%= Html.ActionLink("Create New", "Create") %>
    <br />
    <br />
    <hr />
    <br />
    <div>
        <table id="grid_d" class="scroll" cellpadding="0" cellspacing="0">
        </table>
        <div id="pager_d" class="scroll" style="text-align: center;">
        </div>
    </div>
    <br />
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ScriptContent" runat="server">

    <script src="../../Scripts/jqGridJs/grid.inlinedit.js" type="text/javascript"></script>

    <script language="javascript" type="text/javascript" src="<%= Url.Content("~/Scripts/Categories.js") %>"></script>

</asp:Content>
